import uviewPlus from "uview-plus";
import { createSSRApp } from "vue";
import App from "./App.vue";

import share from "./common/share";
export function createApp() {
  const app = createSSRApp(App);
  // 使用app实例来注册uView组件库，符合Vue 3的使用规范
  app.use(uviewPlus);
  app.mixin(share);
  return {
    app,
  };
}
